package com.ljw.community.entity;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Comment {

  private String id;
  private String topicId;
  private String content;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
  private Date createTime;
  private String creatorId;
  private String creatorLoginName;   //不存入数据库
  private String replyId;    //空为不回复任何人
  private String replyLoginName;    //不存入数据库
  private String delFlag;


  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }


  public String getTopicId() {
    return topicId;
  }

  public void setTopicId(String topicId) {
    this.topicId = topicId;
  }


  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }


  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }


  public String getCreatorId() {
    return creatorId;
  }

  public void setCreatorId(String creatorId) {
    this.creatorId = creatorId;
  }


  public String getReplyId() {
    return replyId;
  }

  public void setReplyId(String replyId) {
    this.replyId = replyId;
  }


  public String getDelFlag() {
    return delFlag;
  }

  public void setDelFlag(String delFlag) {
    this.delFlag = delFlag;
  }

  public String getCreatorLoginName() {
    return creatorLoginName;
  }

  public void setCreatorLoginName(String creatorLoginName) {
    this.creatorLoginName = creatorLoginName;
  }

  public String getReplyLoginName() {
    return replyLoginName;
  }

  public void setReplyLoginName(String replyLoginName) {
    this.replyLoginName = replyLoginName;
  }
}
